<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" >
<head>
    <head th:include="common/global :: global('登陆过','css','login/login')">

</head>
<body>
<div>
    <div>1:<input type="text" th:value="1"></div>
    <div>2:<input type="text" th:value="2"></div>
    <div>3:<input type="text" th:value="3"></div>
  <div>内容：<textarea id="textArea1"cols="10" rows="10" class="ckeditor"></textarea></div>
</div>
<div align="center">
    <input type="button" onclick="buttonSubmit()" style="width: 60px;height: 35px;" value="提交表单" />
</div>
</body>
<script type="text/javascript" src="/libs/ckEditor/ckeditor.js"></script>

<script type="text/javascript">
    {
        CKEDITOR.replace('textArea1'
        );
    };
    function buttonSubmit() {
        alert("走到方法")
        var a=CKEDITOR.instances.TextArea1.getData();
        alert(a)
    }
</script>


</html>